
ac.skill('旋转齿轮'){
    temp = '攻击触发',
    model1 = [[1101.mdl]],
    on_run = function(self,hero,target)
        local point = target:get_point()
        local lock = {}
        local damage = self:dmg_get()
        for a=1,3 do
            local point2 = point:random(450)
            point2.z = 100
            hero:launch_missile(point2,self.model1,1200,0,function(mvr)
                local effect = mvr.mover
                mvr.need_remove_mover = false
                effect.timer1 = ac.loop(100,function()
                    hero:aoe_damage(effect,150,damage,self,function(unit)
                        if lock[unit.handle] and (lock[unit.handle]-ac.clock()>0) then
                            return true
                        end
                        lock[unit.handle] = ac.clock() + 1000
                    end)
                end)
                --ac.hint_white(effect:get_point(),150,3)
                ac.wait(3000,function()
                    effect.timer1:remove()
                    effect:remove()
                end)
            end)
        end
    end,
}